<template>
    <div class="home">
        <router-view></router-view>
        <TabBar :data="tabBarData"></TabBar>
    </div>
</template>

<script>
import TabBar from "../components/Tabbar";

export default {
    name: "Home",
    data(){
        return{
            tabBarData:[
                {name:'首页',icon:'iconhome',path:'/index'},
                {name:'订单',icon:'iconceping1',path:'/order'},
                {name:'我的',icon:'icongeren11',path:'/me'},
            ]
        }
    },
    components: {
        TabBar
    }
};
</script>
<style scoped>
    html,body{
        background: #F5F5FA;
        width: 100%;
        height: 100%;
    }
</style>